Repository navigation
ci: full-history pr-ci ts checkout and drop the local-ci java-fast job - #592
Merged
Merged
Conversation
…t job pr-ci's ts job checked out at depth 1, so origin/$GITHUB_BASE_REF was not fetched, git merge-base failed, and gate_completeness_diff fell back to the FULL mutation pass. fetch-depth: 0 (as the gates job already sets) gives it a merge base. local-ci's java-fast job ran java+kotlin conformance classes that java-slow's `mvn clean install` (the full reactor, tests on) already runs. Remove the job and its mentions in the ports-to-run map, its test and the lane docs. The `--only java-fast` selector stays: conformance.yml still uses it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expected saving
pr-ciwall time per PR (ts lane mutation gate)local-ciper runjava-fast+java-slowjava-slowonly: one job and about 4 runner-minutes fewerThe
pr-cinumbers come from the planning report's measurement of a PR run (its ts-fast log reads "mutation scope: FULL - no merge base ... shallow checkout"). I could not run a real GitHub Actions job here. Locally I verified the cause: a depth-1 clone has noorigin/main, sogit merge-basefails and the gate takes the full pass; a full-history clone resolves the merge base. The measured effect lands on this PR's ownpr-cirun.The one thing lost by removing
java-fastis the early (2-3 min) Java conformance verdict; no check is dropped, sincejava-slow's reactor runs the same classes.What Changed
pr-ci.yml: thetsjob checkout now usesfetch-depth: 0, so the mutation gate finds a merge base withorigin/$GITHUB_BASE_REFand runs diff-scoped instead of a full pass (same as thegatesjob).local-ci.yml: removed thejava-fastjob and its entry in thenotifyjob'sneeds.java-slow's full reactor already runs every java and kotlin conformance class, sojavais now a single job. Header and job comments updated to say so.ci-ports-to-run.sh,ci-lane-map.txt,test-ci-ports-to-run.sh: droppedjava-fastfrom the lane→port map,all_lanes, the lane-map comment and the test fixtures.ci-local.shkeeps--only java-fastas a local selector andconformance.yml's lane; only its comments changed.Validation
Risk Assessment
✅ Low: Both changes match the intent. Every class the removed java-fast job ran lives in a reactor module that java-slow's
mvn clean installruns with no surefire excludes, and thetscheckout now usesfetch-depth: 0likegates.Testing
Broad regression came from the configured
scripts/ci-local.sh --affected --strict-toolchains, which passed. I ran three focused scenarios on top. The lane-selector tests pass withjava-fastgone from the lane map. The parsed workflows have no danglingneedsafter the job's removal, andtsnow checks out full history likegates. The conformance classesjava-fastran are all in reactor modules thatjava-slowbuilds with tests on, so no check was lost. A depth-1 clone cannot resolve the base commit, so the mutation gate falls back to the full pass; a full-history clone resolves the merge base and the gate can diff-scope. The real mutation gate and a real GitHub Actions run were not executed here; the merge-base check was done with git on clones.mvn clean installwith tests on;--only java-faststill lists both conformance s…Evidence: lane selector tests
Evidence: java-slow steps
Evidence: java-fast still selectable locally
Evidence: merge-base shallow vs full
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
mvn clean installwith tests on;--only java-faststill lists both conformance s…scripts/ci-local.sh --affected --strict-toolchainsBroad regression: configuredscripts/ci-local.sh --affected --strict-toolchainsran before this turn and passedbash scripts/test-ci-ports-to-run.sh(lane selector tests, incl. lane_port vs local-ci.yml job-list parity checks): all checks passedMO_CI_LIST_ONLY=1 scripts/ci-local.sh --only java-slowand--only java-fastParsed pr-ci.yml, local-ci.yml and conformance.yml with PyYAML: everyneedstarget is a real job,tsandgatesboth have fetch-depth 0Located every test class named by gate_conf_java and gate_conf_kotlin in the Java reactor modulesShallow vs full-history clone merge-base check✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.